
<#assign folderAPI = variableMacroHelper.folderAPI />
<#assign contentletAPI = variableMacroHelper.contentletAPI />

<#assign folders = folderAPI.getNavigation(currentSite.inode, 2, 4, currentSite.htmlPage.folder.path) />

<div class="shadow">
	<b class="tl"></b><b class="tr"></b>
	<#list folders.wrappedChildren as folder>
	<div class="entity-main J_SubViewItem">
		<div class="lst-subcategory">
			<h3>商品分类：</h3>
			<#list folder.wrappedChildren as secondLevel>
			<dl class="J_HotMenuItem active">
				 <dt>
					<a href="${currentSite.schemaName}/shop/list?inode=${secondLevel.wrappedNode.inode}" title="${(secondLevel.wrapperNode.title)?default("")}">
					${(secondLevel.wrappedNode.title)?default("")}
					</a><i></i>
				 </dt>
				 
				 <dd>
				 <#list secondLevel.wrappedChildren as thirdLevel>
				 <a href="${currentSite.schemaName}/shop/list?inode=${thirdLevel.wrapperNode.inode}" title="${thirdLevel.wrapperNode.title?default("")}">
				 ${(thirdLevel.wrapperNode.title)?default("")}
				 </a>
				 </#list>
				 </dd>
			 </dl>
			 </#list>         
		</div>
		<#list folder.wrappedChildren as secondLevel>
		<div class="lst-top J_HotView">
			
			<h3>${(secondLevel.wrappedNode.title)?default("")}推荐</h3> 
			
			<div class="lst-topitems">
				<#assign contents = contentletAPI.getContentContainerListByContainerInFolder(secondLevel.wrappedNode.inode, 24, 5) />
				<#list contents as content>
				<a href="${currentSite.schemaName}/shop/item?inode=${content.contentletWrapper.inode}" title="${content.contentletWrapper.title}" >${content.contentletWrapper.title}</a>
				</#list>
			</div>

			
			<h3>热门品牌</h3> 
			
			<div class="lst-topitems">
				<#assign contents = contentletAPI.getContentContainerListByContainerInFolder(secondLevel.wrappedNode.inode, 25, 5) />
				<#list contents as content>
				<a href="${currentSite.schemaName}/shop/item?inode=${content.contentletWrapper.inode}" title="${content.contentletWrapper.title}" >
				${content.contentletWrapper.title}
				</a>
				</#list>
			</div>

		</div>
		</#list>
	</div>
	</#list>
</div>